package cn.dzz.springcloud;

import cn.dzz.custom.CustomizeRibbonLoadRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author ArkD42
 * @file SpringCloud-ATGG-2020
 * @create 2020年08月24日 22:41
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "provider-payment-service", configuration = CustomizeRibbonLoadRule.class)
public class ConsumerOrderPort80Application {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerOrderPort80Application.class);
    }
}
